package com.tanhua.dubbo.api.db;

import com.tanhua.domain.db.AnalysisByDay;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface AnalysisByDayApi {
    AnalysisByDay queryByRecodDate(Date toDate);

    void updateById(AnalysisByDay analysisByDay);

    void save(AnalysisByDay analysisByDay);

    Long queryCumulativeUsers();

    Long activePass(String passMonthStr);

    Long queryColumAndTime(String num_registered, String todayStr);

    Map<String, List<Object>> queryThisYear(Long startDay, Long endDay, Integer typeStr);

}
